package com.atguigu.service;

import com.atguigu.pojo.Account;
import com.github.pagehelper.PageInfo;

public interface AccountService {
    void updateAccount(Account account);

    Account queryAccountById(Integer id);

    void saveAccount(Account account);

    void deleteAccountById(Integer id);

    PageInfo<Account> queryAccountByPage(Integer currentPage, Integer pageSize);
}
